﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace XuanXiang.Infrastructure.Dto.Response.System
{
    /// <summary>
    /// 权限类
    /// </summary>
    public class Right_dto
    {
        public string? id { get; set; }

        /// <summary>
        /// 授权id
        /// </summary>
        public List<string>? rights { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        public string? label { get; set; }

        /// <summary>
        /// 选中
        /// </summary>
        public bool? @checked { get; set; }

        /// <summary>
        /// 地址
        /// </summary>
        public string? url { get; set; }

        /// <summary>
        /// 图标
        /// </summary>
        public string? icon { get; set; }

        /// <summary>
        /// 是否禁用
        /// </summary>
        public bool? isBan { get; set; }

        /// <summary>
        /// 是否是菜单
        /// </summary>
        public bool? isMenu { get; set; }

        /// <summary>
        /// 排序
        /// </summary>
        public int? no { get; set; }

        /// <summary>
        /// 上级
        /// </summary>
        public string? parent { get; set; }

        public string? desc { get; set; }

        /// <summary>
        /// 添加时间
        /// </summary>
        public string? time { get; set; }

        /// <summary>
        /// 子级
        /// </summary>
        public List<Right_dto>? children { get; set; }
    }
}
